package com.skivingcloud.develop.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.JsonNode;
import com.skivingcloud.workflow.api.entity.TaskParam;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author hushouquan
 * @since 2024/3/13
 */
@Schema(name = "BusinessCommonParam对象", title = "通用业务表单")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BusinessCommonParam{
    @Schema(description = "主键")
    private String id;
    @Schema(title = "业务设计ID")
    private String designerId;
    @Schema(title = "业务设计编码")
    private String designerCode;
    @Schema(title = "业务设计名称")
    private String designerName;
    @Schema(title = "表单数据")
    private JsonNode formData;
    @Schema(title = "流程参数")
    private TaskParam taskParam;
    
    public String getId(){
        return id;
    }
    
    public void setId(String id){
        this.id = id;
    }
    
    public String getDesignerId(){
        return designerId;
    }
    
    public void setDesignerId(String designerId){
        this.designerId = designerId;
    }
    
    public String getDesignerCode(){
        return designerCode;
    }
    
    public void setDesignerCode(String designerCode){
        this.designerCode = designerCode;
    }
    
    public String getDesignerName(){
        return designerName;
    }
    
    public void setDesignerName(String designerName){
        this.designerName = designerName;
    }
    
    public JsonNode getFormData(){
        return formData;
    }
    
    public void setFormData(JsonNode formData){
        this.formData = formData;
    }
    
    public TaskParam getTaskParam(){
        return taskParam;
    }
    
    public void setTaskParam(TaskParam taskParam){
        this.taskParam = taskParam;
    }
}
